/**
 * 
 */
package com.xcx.order.service;

import com.bootdo.lgs.order.model.LgsOrder;
import com.xcx.order.model.SearchQuery;
import com.xcx.order.model.bind.XcxBind;
import com.xcx.order.model.XcxOrderQuery;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 1992lcg@163.com
 * @Time 2017年9月6日
 * @description
 * 
 */
@Service
public interface XcxOrderService {

       /** 是否绑定过的手机号 */
       Boolean isBindPhone(XcxBind condition);

       int addBindPhone(XcxBind condition);

       int updateBindPhone(XcxBind condition);

       /** 检查验证码 是否匹配 */
       Boolean isCodePass(XcxBind condition);

       /** 是否更换绑定手机 */
       Boolean isChangePhone(XcxBind condition);

       String getUserRole(XcxOrderQuery condition);

       void initQueryCondition(int status, XcxOrderQuery condition);

       int countList(XcxOrderQuery condition);

       List getList(XcxOrderQuery condition);

       LgsOrder getDetail(XcxOrderQuery condition);

       List getOrderTraceList(XcxOrderQuery condition);

       void sendUnpackNotice(Long orderId);

       void initSearchQuery(SearchQuery condition);

       List searchList(SearchQuery condition);

       //签收
       boolean addSign(Long orderId);

}
